-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN: Datetimelike._can_hold_na #13983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Current coverage is 85.28% (diff: 100%)@@ master #13983 diff @@
==========================================
Files 139 139
Lines 50543 50547 +4
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 43101 43107 +6
+ Misses 7442 7440 -2
Partials 0 0
|
ec38c18
to
dbdac92
Compare
70a4e82
to
da4e886
Compare
@jreback @jorisvandenbossche can u check? This is needed to make some |
7e60ff5
to
fb23295
Compare
This is looking good to me. @jreback OK? |
needs #13979 first |
""" | ||
wrap Index._get_unique_index to handle NaT | ||
""" | ||
res = super(PeriodIndex, self)._get_unique_index(dropna=dropna) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be handled in the super?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sinhrks updated to not rely on that one |
@sinhrks This needs a rebase now I merged the other |
lgtm. ping on green. |
fixed lint error, and now green. |
Thanks! |
git diff upstream/master | flake8 --diff
datetimelike
Index._can_hold_na
is allFalse
even though these can storeNaT
.Because of
test_base.py
condition below, datetime-like Indexes had skipped some tests until now.